const orderInfoController = require('../../controllers/o2o_client/orderInfo.controller.js');
const express = require('express');


module.exports = (app) =>{
    var router = express.Router();
    router.route('/findOrderInfoByCustomerId/:customerId')
    .get(orderInfoController.findOrderInfoByCustomerId);
    router.route('/addOrder').post(orderInfoController.addOrder);
    router.route('/updateorderInfo').post(orderInfoController.updateorderInfo);    
    app.use('/customer',router);
}